package com.atguigu.service;

import com.atguigu.entity.PaymentInfo;
import com.atguigu.result.RetVal;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 付款信息表 服务类
 * </p>
 *
 * @author Joe
 * @since 2024-12-08
 */
public interface PaymentInfoService extends IService<PaymentInfo> {

    RetVal<Map<String, Object>> saveOrderAndDetail(String paymentType, String orderNo);

    PaymentInfo savePaymentInfo(String paymentType, String orderNo);
}
